Errore PostGres --> ERROR: invalid input syntax for type integer: "319 on 25-07-2019" LINE 6: WHERE "s"."species_code" = '319 on 25-07-2019' LIMIT 1 ^